package extend;

public class Parent {

    private int f1=1;
    int f2=2;
    protected  int f3=3;
    public int f4=4;

    public  void fm1(){System.out.println("in fm1() f1="+f1);}

    public void fm2(){System.out.println("in fm2() f2="+f2);}

    protected void fm3(){System.out.println("in fm3() f3="+f3);}

    public void fm4(){System.out.println("in fm4() f4="+f4);}
}
